package com.apache.bid.controller.admin;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.apache.api.manager.ProxyManager;
import com.apache.bid.controller.BaseSupperAction;
import com.apache.bid.entity.BidPub;
import com.apache.bid.manager.BidPubManager;
import com.apache.bid.manager.UnityBaseManager;

@Controller
@RequestMapping("/admin/pub")
public class BidPubAction extends BaseSupperAction<BidPub> {

	@Autowired
	private BidPubManager bidPubManager;
	@Autowired
	private ProxyManager wbdProxyManager;

	public void setBidPubManager(BidPubManager bidPubManager) {
		this.bidPubManager = bidPubManager;
	}

	public void setWbdProxyManager(ProxyManager wbdProxyManager) {
		this.wbdProxyManager = wbdProxyManager;
	}

	@Override
	protected UnityBaseManager<BidPub> getBaseManager() {
		return bidPubManager;
	}

	@Override
	protected String getCommBoxValue(BidPub item, String type) {
		return null;
	}

}
